﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Services.Account.Models
{
    public class WechatDto
    {
    }

    public class WechatMsgSecCheckInput
    {
        /// <summary>
        /// 内容
        /// </summary>
        public string? content { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public decimal? version { get; set; } = 2;
        /// <summary>
        /// 场景
        /// 1 资料；2 评论；3 论坛；4 社交日志
        /// </summary>
        public int? scene { get; set; } = 1;
        /// <summary>
        /// 用户openid
        /// </summary>
        public string? openid { get; set; }
    }

    public class WechatMediaCheckInput
    {
        /// <summary>
        /// 要检测的图片或音频的url，支持图片格式包括jpg, jepg, png, bmp, gif（取首帧），
        /// 支持的音频格式包括mp3, aac, ac3, wma, flac, vorbis, opus, wav
        /// </summary>
        public string? media_url { get; set; }

        /// <summary>
        /// 1:音频;2:图片
        /// </summary>
        public int? media_type { get; set; }

        /// <summary>
        /// 版本
        /// </summary>
        public decimal? version { get; set; } = 2;
        /// <summary>
        /// 场景
        /// 1 资料；2 评论；3 论坛；4 社交日志
        /// </summary>
        public int? scene { get; set; } = 1;
        /// <summary>
        /// 用户openid
        /// </summary>
        public string? openid { get; set; }
    }

    public class WechatGetTokenResult
    {
        public string? Access_token { get; set; }
        public int? Expires_in { get; set; }
    }

    public class WechatToken
    {
        public string? Token { get; set; }

        public DateTime? ExpireDate { get; set; }
    }

    public class Test
    {
        public string? deviceKey { get; set; }

        public string? personId { get; set; }

        public string? time { get; set; }

        public string? type { get; set; }

        public string? path { get; set; }

        public string? imgBase64 { get; set; }
        public string? data { get; set; }
        public string? ip { get; set; }
        public string? searchScore { get; set; }
        public string? livenessScore { get; set; }

        public string? temperature { get; set; }

        public string? standard { get; set; }
        public string? temperatureState { get; set; }
        public string? mask { get; set; }

    }



}
